from flask import render_template
from blog_core import Core
from dao import UserDao

__author__ = 'WhiteBlue'


app = Core.app


@app.route('/')
def index():
    return render_template("index.html",
        title = 'Home',
        users = UserDao.get_all_user())
